package com.zwz.mall.config;

/**
 * Created by Administrator on 2019/5/28 0028.
 * 通用类，定义成员变量
 */

public class Config
{
    public static class Post {
        public static final int POST_UPLOAD_IMG_COUNT = 3;
    }

    //地址
    public static class contans {
        private static final boolean IS_BETA = false;
        //登录

        public final static String API = "http://wms.daojiadiandian.com:8086/jeewms/";
        //正式环境地址
        public final static String TEST_API = "http://wms.daojiadiandian.com:8086/jeewms/";

        public static String getServerAddress() {
            return IS_BETA ? API : TEST_API;
        }
    }
    public static final String USER_TOKEN = "userToken";//保存用户信息

}
